<template>
  <n-result status="404" size="huge" title="404 资源不存在" description="生活总归带点荒谬">
    <template #footer>
      <n-button @click="toPage()">找点乐子吧</n-button>
    </template>
  </n-result>
</template>

<script setup>
import {inject} from 'vue'
const {toPage} = inject('toPage')
</script>

<style scoped>

</style>